@import '../base.scss';

.main{
    .title{
        height: 217px*3;
        background: url('../../images/autuwinter-1016/images/banner_01.jpg')no-repeat center 0,
        url('../../images/autuwinter-1016/images/banner_02.jpg')no-repeat center 217px,
        url('../../images/autuwinter-1016/images/banner_03.jpg')no-repeat center 216px*2;
    }
    .nav{
        margin: 50px auto;
        display: flex;
        width: 1000px;
        height: 162px;
        justify-content: space-around;
        align-items: center;

        li{
            position: relative;
            width: 162px;
            height: 162px;
            background: url('../../images/autuwinter-1016/blue.png');
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            cursor: pointer;
            img{
                display: block;
                margin: 0 auto;
                transform: scale(.8);
            }
            .one-img{
                width: 71px;
            }
            p{
                position: absolute;
                left: 50px;
                bottom: -26px;
                font-size: 16px;
            }
            &.cur{
                background: url('../../images/autuwinter-1016/red.png');
                color: red;

                img{
                    transform: scale(1.2);
                }
            }
        }
    }
    .title-f{
        display: block;
        width: 1000px;
        // height: 60px;
        margin: 0 auto;
        margin-top: 10px;
        text-align: center;
        line-height: 60px;
        font-size: 18px;
        color: red;
    }
    .container{
        width: 1000px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .card{
            width: 326px;
            height: 430px;
            background-color: #eee;
            margin-top: 20px;
            font-size: 16px;
            position: relative;
            color: #333;

            &.cur{
                &::before{
                    content: '主推';
                    position: absolute;
                    width: 36px;
                    height: 34px;
                    top: 0;
                    left: 10px;
                    color:white;
                    text-align: center;
                    line-height: 35px;
                    background-color: #C40206;
                    font-size: 14px;
                }
                &::after{
                    content: '';
                    position: absolute;
                    width: 0;
                    height: 0;
                    border: 0 solid #C40206;
                    border-bottom-color: transparent;
                    border-bottom-width: 10px;
                    border-right-width: 18px;
                    border-left-width: 18px;
                    top: 34px;
                    left: 10px;
                }
            }
            img{
                width: 100%;
                height: 328px;

            }
            >div{
                padding: 0 10px;
                height: 430px-328;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                position: relative;
                >i{
                    position: absolute;
                    height: 50px;
                    width: 50px;
                    text-align: center;
                    font-style: normal;
                    box-sizing: border-box;
                    bottom: -5px;
                    right: 20px;
                    background-color: #E81115;
                    color: white;
                    padding: 6px;
                    &.cur{
                        background-color: #F5CF68;
                    }
                    &::before{
                        content: '';
                        position: absolute;
                        width: 0;
                        height: 0;
                        border: 0 solid #C40206;
                        border-bottom-color: transparent;
                        border-bottom-width: 8px;
                        border-left-width: 10px;
                        bottom: 0;
                        right: -10px;
                    }
                    &::after{
                        content: '';
                        position: absolute;
                        width: 0;
                        height: 0;
                        border: 0 solid #C40206;
                        border-bottom-color: transparent;
                        border-bottom-width: 8px;
                        border-right-width: 10px;
                        bottom: 0;
                        left: -10px;
                    }
                }
                >div{
                    color: red;
                    p{
                        >span{
                            font-size: 24px;
                            font-weight: bold;
                        }
                    }
                    i{
                        font-style: normal;
                        color: #666;
                        font-size: 14px;
                        span{
                            font-size: 16px;
                        }
                    }
                }
            }
        }
    }
    .back-top{
        margin: 80px auto;
        width: 1078px;
        height: 22px;
        background: url('../../images/autuwinter-1016/back-top.png')
    }
}